package day8;

import java.io.FileWriter;
import java.io.IOException;

/**
 * @author oldliu
 * @since 1.0
 */
public class WriterTest1 {
    public static void main(String[] args) {
        try {
            FileWriter fw=new FileWriter("E:/temp/java79.txt",true);
            fw.write("\r\n");
            fw.write(21016);
            fw.write('陈');
            fw.write("教育改变生活");
            fw.write("教育改变生活",2,3);
            fw.flush();
            fw.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
